/**
 * 项目名：五位一体化工安全信息平台
 * 日期：    2019-12-10 08:35:29
 * Copyright (c) 2015- joysuch-版权所有
 */

package com.joysuch.wwyt.bp.entity;

import com.joysuch.wwyt.core.support.AutoSetCommonFieldListener;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.time.LocalDate;

import static javax.persistence.GenerationType.IDENTITY;

@EntityListeners({AuditingEntityListener.class, AutoSetCommonFieldListener.class})
@Entity
@Table(name = "wwyt_bp_enterprise_info")
public class BpEnterpriseInfo implements java.io.Serializable {

    //columns START
    //ID
    private Long id;
    //企业名称
    private String name;
    //统一社会信用代码
    private String unifiedSocialCreditCode;
    //行政区划
    private String province;
    //所在地(省)
    private String locationProvince;
    //所在地(市)
    private String locationCity;
    //所在地(区县)
    private String locationDistrict;
    //所在地(街道乡镇)
    private String locationStreet;
    //注册地址
    private String registerAddress;
    //生产经营地址
    private String businessAddress;
    //注册资金(万元)
    private Float registeredCapital;
    //占地面积(㎡)
    private Float floorArea;
    //邮政编码
    private String postcode;
    //成立日期
    private java.util.Date registerDate;
    //法定代表人
    private String legalRepresentative;
    //企业固定电话
    private String telephone;
    //单位传真
    private String fax;
    //电子邮箱
    private String email;
    //官方网站地址
    private String website;
    //经济类型
    private String economicType1;
    //经济类型(小类)
    private String economicType2;
    //行业类型
    private String tradeType1;
    //监管类型
    private String superviseType1;
    //经营状态
    private String managementState;
    //生产场所产权
    private String productionPlacePropertyRight;
    //规模情况
    private String scale;
    //母公司名称
    private String parentCompanyName;
    //安全标准化等级
    private String safetyLevel;
    //风险等级
    private String riskLevel;
    //安全监管等级
    private String safetySuperviseLevel;
    //企业类型
    private String companyType;
    //是否存在危险化学品重大危险源
    private String hasMhhch;
    //危险化学品重大危险源等级
    private String mhhchLevel;
    //是否有二道门
    private String hasSecondDoor;
    //二道门建设情况
    private String secondDoorBuildStatus;
    //近三年是否发生过危化品事故
    private String hasHchAccidentIn3years;
    //是否存在危化品输送管道
    private String hasHchTunnel;
    //属地安监机构
    private String safetySuperviseInstitution;
    //经纬度
    private String longitudeLatitude;
    //经营范围
    private String businessScope;
    //备注
    private String remark;
    //企业主要负责人
    private String principal;
    //企业平面图
    private Long layoutPictureId;
    //周边环境类型
    private String surroundingType;
    //周边环境名称
    private String surroundingName;
    //周边环境方位
    private String surroundingDirection;
    //与本企业最小距离
    private Integer surroundingMinDistance;
    //建筑结构
    private String surroundingArchitecture;
    //相邻建筑高度（米）
    private Integer surroundingAdjacentBuildingHeight;
    //人员数量
    private Integer surroundingPeopleCount;
    //联系人
    private String surroundingContactName;
    //联系人固定电话
    private String surroundingContactPhone;
    //联系人移动电话
    private String surroundingContactMobile;
    //联系人电子邮箱
    private String surroundingContactEmail;
    //经维度
    private String surroundingLongitudeLatitude;
    //周边环境备注
    private String surroundingRemark;
    //从业人员数量
    private Integer stStaffCount;
    // 从业人员数量自动获取开关（“0”：关，“1”：开）
    private String staffCountConfig;
    //特种作业人员数量
    private Integer stSpecialWorkStaffCount;
    //专职安全生产管理人员数量
    private Integer stFullTimeSafetyProductionManagerCount;
    //兼职安全生产管理人员数量
    private Integer stPartimeTimeSafetyProductionManagerCount;
    //专职应急管理人员数量
    private Integer stFullTimeEmergencyManagerCount;
    //注册安全工程师人员数量
    private Integer stRegisteredSafetyEngineerCount;
    //安全管理机构名称
    private String safetyManageInstitutionName;
    //安全管理机构职责
    private String safetyManageInstitutionDuty;
    //安全管理机构成员数量
    private Integer safetyManageInstitutionStaffCount;
    //相关照片
    private Long pictureId;
    //是否有专职安全人员
    private String hasFullTimeSafetyStaff;
    //租户ID
    private Long tenentId;
    //组织机构代码
    private String orgCode;
    //columns END

    //安全值班电话
    private String safeOnDutyTel;
    //专项治理类别
    private String specialTreatType;
    //经济类型大类
    private String economicTypeBig;
    //经济类型小类
    private String economicTypeSmall;
    //行业类别门类
    private String industryTypeCategory;
    //行业类别大类
    private String industryTypeBig;
    //行业类别中类
    private String industryTypeMedium;
    //行业类别小类
    private String industryTypeSmall;
    //行业监管大类
    private String industryMonitorBig;
    //行业监管小类
    private String industryMonitorSmall;
    //经度
    private String longitude;
    //纬度
    private String latitude;
    //是否为国有企业
    private String stateEnterpriseOrNot;
    //企业规模
    private String enterpriseScope;
    //是否有母公司
    private String motherCompanyOrNot;
    //主要负责人
    private Long mainChargerId;
    //安全负责人
    private Long safeChargerId;
    //标准化证书有效期起始日期
    private LocalDate standardCertStartDate;
    //标准化证书有效期终止日期
    private LocalDate standardCertEndDate;
    //企业编码
    private String enterpriseCode;

    //所在村(社区)
    private String community;
    //所在园区(开发区)
    private String developmentZone;
    //隶属关系
    private String ownership;
    //集团公司名称
    private String groupCompanyName;
    //是否有专门的安全机构
    private String securityAgency;
    //联系qq号
    private String qq;

    @Column(name = "community")
    public String getCommunity() {
        return community;
    }

    public void setCommunity(String community) {
        this.community = community;
    }

    @Column(name = "development_zone")
    public String getDevelopmentZone() {
        return developmentZone;
    }

    public void setDevelopmentZone(String developmentZone) {
        this.developmentZone = developmentZone;
    }

    @Column(name = "ownership")
    public String getOwnership() {
        return ownership;
    }

    public void setOwnership(String ownership) {
        this.ownership = ownership;
    }

    @Column(name = "group_company_name")
    public String getGroupCompanyName() {
        return groupCompanyName;
    }

    public void setGroupCompanyName(String groupCompanyName) {
        this.groupCompanyName = groupCompanyName;
    }

    @Column(name = "security_agency")
    public String getSecurityAgency() {
        return securityAgency;
    }

    public void setSecurityAgency(String securityAgency) {
        this.securityAgency = securityAgency;
    }

    @Column(name = "qq")
    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }


    public String getEnterpriseCode() {
        return enterpriseCode;
    }

    public void setEnterpriseCode(String enterpriseCode) {
        this.enterpriseCode = enterpriseCode;
    }

    public LocalDate getStandardCertStartDate() {
        return standardCertStartDate;
    }

    public void setStandardCertStartDate(LocalDate standardCertStartDate) {
        this.standardCertStartDate = standardCertStartDate;
    }

    public LocalDate getStandardCertEndDate() {
        return standardCertEndDate;
    }

    public void setStandardCertEndDate(LocalDate standardCertEndDate) {
        this.standardCertEndDate = standardCertEndDate;
    }

    public Long getMainChargerId() {
        return mainChargerId;
    }

    public void setMainChargerId(Long mainChargerId) {
        this.mainChargerId = mainChargerId;
    }

    public Long getSafeChargerId() {
        return safeChargerId;
    }

    public void setSafeChargerId(Long safeChargerId) {
        this.safeChargerId = safeChargerId;
    }

    @Column(name = "ECONOMIC_TYPE_2", length = 64)
    public String getEconomicType2() {
        return economicType2;
    }

    public void setEconomicType2(String economicType2) {
        this.economicType2 = economicType2;
    }

    public String getSafeOnDutyTel() {
        return safeOnDutyTel;
    }

    public void setSafeOnDutyTel(String safeOnDutyTel) {
        this.safeOnDutyTel = safeOnDutyTel;
    }

    public String getSpecialTreatType() {
        return specialTreatType;
    }

    public void setSpecialTreatType(String specialTreatType) {
        this.specialTreatType = specialTreatType;
    }

    public String getEconomicTypeBig() {
        return economicTypeBig;
    }

    public void setEconomicTypeBig(String economicTypeBig) {
        this.economicTypeBig = economicTypeBig;
    }

    public String getEconomicTypeSmall() {
        return economicTypeSmall;
    }

    public void setEconomicTypeSmall(String economicTypeSmall) {
        this.economicTypeSmall = economicTypeSmall;
    }

    public String getIndustryTypeCategory() {
        return industryTypeCategory;
    }

    public void setIndustryTypeCategory(String industryTypeCategory) {
        this.industryTypeCategory = industryTypeCategory;
    }

    public String getIndustryTypeBig() {
        return industryTypeBig;
    }

    public void setIndustryTypeBig(String industryTypeBig) {
        this.industryTypeBig = industryTypeBig;
    }

    public String getIndustryTypeMedium() {
        return industryTypeMedium;
    }

    public void setIndustryTypeMedium(String industryTypeMedium) {
        this.industryTypeMedium = industryTypeMedium;
    }

    public String getIndustryTypeSmall() {
        return industryTypeSmall;
    }

    public void setIndustryTypeSmall(String industryTypeSmall) {
        this.industryTypeSmall = industryTypeSmall;
    }

    public String getIndustryMonitorBig() {
        return industryMonitorBig;
    }

    public void setIndustryMonitorBig(String industryMonitorBig) {
        this.industryMonitorBig = industryMonitorBig;
    }

    public String getIndustryMonitorSmall() {
        return industryMonitorSmall;
    }

    public void setIndustryMonitorSmall(String industryMonitorSmall) {
        this.industryMonitorSmall = industryMonitorSmall;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getStateEnterpriseOrNot() {
        return stateEnterpriseOrNot;
    }

    public void setStateEnterpriseOrNot(String stateEnterpriseOrNot) {
        this.stateEnterpriseOrNot = stateEnterpriseOrNot;
    }

    public String getEnterpriseScope() {
        return enterpriseScope;
    }

    public void setEnterpriseScope(String enterpriseScope) {
        this.enterpriseScope = enterpriseScope;
    }

    public String getMotherCompanyOrNot() {
        return motherCompanyOrNot;
    }

    public void setMotherCompanyOrNot(String motherCompanyOrNot) {
        this.motherCompanyOrNot = motherCompanyOrNot;
    }

    public void setId(Long value) {
        this.id = value;
    }

    @Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "Id", unique = true, nullable = false)
    public Long getId() {
        return this.id;
    }


    @Column(name = "NAME", length = 100)
    public String getName() {
        return this.name;
    }

    public void setName(String value) {
        this.name = value;
    }


    @Column(name = "UNIFIED_SOCIAL_CREDIT_CODE", length = 30)
    public String getUnifiedSocialCreditCode() {
        return this.unifiedSocialCreditCode;
    }

    public void setUnifiedSocialCreditCode(String value) {
        this.unifiedSocialCreditCode = value;
    }


    @Column(name = "PROVINCE", length = 30)
    public String getProvince() {
        return this.province;
    }

    public void setProvince(String value) {
        this.province = value;
    }


    @Column(name = "LOCATION_PROVINCE", length = 30)
    public String getLocationProvince() {
        return this.locationProvince;
    }

    public void setLocationProvince(String value) {
        this.locationProvince = value;
    }


    @Column(name = "LOCATION_CITY", length = 50)
    public String getLocationCity() {
        return this.locationCity;
    }

    public void setLocationCity(String value) {
        this.locationCity = value;
    }


    @Column(name = "LOCATION_DISTRICT", length = 50)
    public String getLocationDistrict() {
        return this.locationDistrict;
    }

    public void setLocationDistrict(String value) {
        this.locationDistrict = value;
    }


    @Column(name = "LOCATION_STREET", length = 100)
    public String getLocationStreet() {
        return this.locationStreet;
    }

    public void setLocationStreet(String value) {
        this.locationStreet = value;
    }


    @Column(name = "REGISTER_ADDRESS", length = 150)
    public String getRegisterAddress() {
        return this.registerAddress;
    }

    public void setRegisterAddress(String value) {
        this.registerAddress = value;
    }


    @Column(name = "BUSINESS_ADDRESS", length = 150)
    public String getBusinessAddress() {
        return this.businessAddress;
    }

    public void setBusinessAddress(String value) {
        this.businessAddress = value;
    }


    @Column(name = "REGISTERED_CAPITAL")
    public Float getRegisteredCapital() {
        return this.registeredCapital;
    }

    public void setRegisteredCapital(Float value) {
        this.registeredCapital = value;
    }


    @Column(name = "FLOOR_AREA")
    public Float getFloorArea() {
        return this.floorArea;
    }

    public void setFloorArea(Float value) {
        this.floorArea = value;
    }


    @Column(name = "POSTCODE", length = 6)
    public String getPostcode() {
        return this.postcode;
    }

    public void setPostcode(String value) {
        this.postcode = value;
    }


    @Column(name = "REGISTER_DATE")
    public java.util.Date getRegisterDate() {
        return this.registerDate;
    }

    public void setRegisterDate(java.util.Date value) {
        this.registerDate = value;
    }


    @Column(name = "LEGAL_REPRESENTATIVE", length = 12)
    public String getLegalRepresentative() {
        return this.legalRepresentative;
    }

    public void setLegalRepresentative(String value) {
        this.legalRepresentative = value;
    }


    @Column(name = "TELEPHONE", length = 20)
    public String getTelephone() {
        return this.telephone;
    }

    public void setTelephone(String value) {
        this.telephone = value;
    }


    @Column(name = "FAX", length = 20)
    public String getFax() {
        return this.fax;
    }

    public void setFax(String value) {
        this.fax = value;
    }


    @Column(name = "EMAIL", length = 50)
    public String getEmail() {
        return this.email;
    }

    public void setEmail(String value) {
        this.email = value;
    }


    @Column(name = "WEBSITE", length = 200)
    public String getWebsite() {
        return this.website;
    }

    public void setWebsite(String value) {
        this.website = value;
    }


    @Column(name = "ECONOMIC_TYPE_1", length = 20)
    public String getEconomicType1() {
        return this.economicType1;
    }

    public void setEconomicType1(String value) {
        this.economicType1 = value;
    }


    @Column(name = "TRADE_TYPE_1", length = 20)
    public String getTradeType1() {
        return this.tradeType1;
    }

    public void setTradeType1(String value) {
        this.tradeType1 = value;
    }


    @Column(name = "SUPERVISE_TYPE_1", length = 20)
    public String getSuperviseType1() {
        return this.superviseType1;
    }

    public void setSuperviseType1(String value) {
        this.superviseType1 = value;
    }


    @Column(name = "MANAGEMENT_STATE", length = 10)
    public String getManagementState() {
        return this.managementState;
    }

    public void setManagementState(String value) {
        this.managementState = value;
    }


    @Column(name = "PRODUCTION_PLACE_PROPERTY_RIGHT", length = 20)
    public String getProductionPlacePropertyRight() {
        return this.productionPlacePropertyRight;
    }

    public void setProductionPlacePropertyRight(String value) {
        this.productionPlacePropertyRight = value;
    }


    @Column(name = "SCALE", length = 100)
    public String getScale() {
        return this.scale;
    }

    public void setScale(String value) {
        this.scale = value;
    }


    @Column(name = "PARENT_COMPANY_NAME", length = 100)
    public String getParentCompanyName() {
        return this.parentCompanyName;
    }

    public void setParentCompanyName(String value) {
        this.parentCompanyName = value;
    }


    @Column(name = "SAFETY_LEVEL", length = 20)
    public String getSafetyLevel() {
        return this.safetyLevel;
    }

    public void setSafetyLevel(String value) {
        this.safetyLevel = value;
    }


    @Column(name = "RISK_LEVEL", length = 20)
    public String getRiskLevel() {
        return this.riskLevel;
    }

    public void setRiskLevel(String value) {
        this.riskLevel = value;
    }


    @Column(name = "SAFETY_SUPERVISE_LEVEL", length = 20)
    public String getSafetySuperviseLevel() {
        return this.safetySuperviseLevel;
    }

    public void setSafetySuperviseLevel(String value) {
        this.safetySuperviseLevel = value;
    }


    @Column(name = "COMPANY_TYPE", length = 20)
    public String getCompanyType() {
        return this.companyType;
    }

    public void setCompanyType(String value) {
        this.companyType = value;
    }


    @Column(name = "HAS_MHHCH", length = 20)
    public String getHasMhhch() {
        return this.hasMhhch;
    }

    public void setHasMhhch(String value) {
        this.hasMhhch = value;
    }


    @Column(name = "MHHCH_LEVEL", length = 20)
    public String getMhhchLevel() {
        return this.mhhchLevel;
    }

    public void setMhhchLevel(String value) {
        this.mhhchLevel = value;
    }


    @Column(name = "HAS_SECOND_DOOR", length = 2)
    public String getHasSecondDoor() {
        return this.hasSecondDoor;
    }

    public void setHasSecondDoor(String value) {
        this.hasSecondDoor = value;
    }


    @Column(name = "SECOND_DOOR_BUILD_STATUS", length = 100)
    public String getSecondDoorBuildStatus() {
        return this.secondDoorBuildStatus;
    }

    public void setSecondDoorBuildStatus(String value) {
        this.secondDoorBuildStatus = value;
    }


    @Column(name = "HAS_HCH_ACCIDENT_IN_3YEARS", length = 2)
    public String getHasHchAccidentIn3years() {
        return this.hasHchAccidentIn3years;
    }

    public void setHasHchAccidentIn3years(String value) {
        this.hasHchAccidentIn3years = value;
    }


    @Column(name = "HAS_HCH_TUNNEL", length = 2)
    public String getHasHchTunnel() {
        return this.hasHchTunnel;
    }

    public void setHasHchTunnel(String value) {
        this.hasHchTunnel = value;
    }


    @Column(name = "SAFETY_SUPERVISE_INSTITUTION", length = 100)
    public String getSafetySuperviseInstitution() {
        return this.safetySuperviseInstitution;
    }

    public void setSafetySuperviseInstitution(String value) {
        this.safetySuperviseInstitution = value;
    }


    @Column(name = "LONGITUDE_LATITUDE", length = 200)
    public String getLongitudeLatitude() {
        return this.longitudeLatitude;
    }

    public void setLongitudeLatitude(String value) {
        this.longitudeLatitude = value;
    }


    @Column(name = "BUSINESS_SCOPE", length = 500)
    public String getBusinessScope() {
        return this.businessScope;
    }

    public void setBusinessScope(String value) {
        this.businessScope = value;
    }


    @Column(name = "REMARK", length = 500)
    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String value) {
        this.remark = value;
    }


    @Column(name = "PRINCIPAL", length = 12)
    public String getPrincipal() {
        return this.principal;
    }

    public void setPrincipal(String value) {
        this.principal = value;
    }


    @Column(name = "LAYOUT_PICTURE_ID")
    public Long getLayoutPictureId() {
        return this.layoutPictureId;
    }

    public void setLayoutPictureId(Long value) {
        this.layoutPictureId = value;
    }


    @Column(name = "SURROUNDING_TYPE", length = 20)
    public String getSurroundingType() {
        return this.surroundingType;
    }

    public void setSurroundingType(String value) {
        this.surroundingType = value;
    }


    @Column(name = "SURROUNDING_NAME", length = 100)
    public String getSurroundingName() {
        return this.surroundingName;
    }

    public void setSurroundingName(String value) {
        this.surroundingName = value;
    }


    @Column(name = "SURROUNDING_DIRECTION", length = 100)
    public String getSurroundingDirection() {
        return this.surroundingDirection;
    }

    public void setSurroundingDirection(String value) {
        this.surroundingDirection = value;
    }


    @Column(name = "SURROUNDING_MIN_DISTANCE")
    public Integer getSurroundingMinDistance() {
        return this.surroundingMinDistance;
    }

    public void setSurroundingMinDistance(Integer value) {
        this.surroundingMinDistance = value;
    }


    @Column(name = "SURROUNDING_ARCHITECTURE", length = 100)
    public String getSurroundingArchitecture() {
        return this.surroundingArchitecture;
    }

    public void setSurroundingArchitecture(String value) {
        this.surroundingArchitecture = value;
    }


    @Column(name = "SURROUNDING_ADJACENT_BUILDING_HEIGHT")
    public Integer getSurroundingAdjacentBuildingHeight() {
        return this.surroundingAdjacentBuildingHeight;
    }

    public void setSurroundingAdjacentBuildingHeight(Integer value) {
        this.surroundingAdjacentBuildingHeight = value;
    }


    @Column(name = "SURROUNDING_PEOPLE_COUNT")
    public Integer getSurroundingPeopleCount() {
        return this.surroundingPeopleCount;
    }

    public void setSurroundingPeopleCount(Integer value) {
        this.surroundingPeopleCount = value;
    }


    @Column(name = "SURROUNDING_CONTACT_NAME", length = 12)
    public String getSurroundingContactName() {
        return this.surroundingContactName;
    }

    public void setSurroundingContactName(String value) {
        this.surroundingContactName = value;
    }


    @Column(name = "SURROUNDING_CONTACT_PHONE", length = 20)
    public String getSurroundingContactPhone() {
        return this.surroundingContactPhone;
    }

    public void setSurroundingContactPhone(String value) {
        this.surroundingContactPhone = value;
    }


    @Column(name = "SURROUNDING_CONTACT_MOBILE", length = 20)
    public String getSurroundingContactMobile() {
        return this.surroundingContactMobile;
    }

    public void setSurroundingContactMobile(String value) {
        this.surroundingContactMobile = value;
    }


    @Column(name = "SURROUNDING_CONTACT_EMAIL", length = 50)
    public String getSurroundingContactEmail() {
        return this.surroundingContactEmail;
    }

    public void setSurroundingContactEmail(String value) {
        this.surroundingContactEmail = value;
    }


    @Column(name = "SURROUNDING_LONGITUDE_LATITUDE", length = 200)
    public String getSurroundingLongitudeLatitude() {
        return this.surroundingLongitudeLatitude;
    }

    public void setSurroundingLongitudeLatitude(String value) {
        this.surroundingLongitudeLatitude = value;
    }


    @Column(name = "SURROUNDING_REMARK", length = 500)
    public String getSurroundingRemark() {
        return this.surroundingRemark;
    }

    public void setSurroundingRemark(String value) {
        this.surroundingRemark = value;
    }


    @Column(name = "ST_STAFF_COUNT")
    public Integer getStStaffCount() {
        return this.stStaffCount;
    }

    public void setStStaffCount(Integer value) {
        this.stStaffCount = value;
    }

    @Column(name = "STAFF_COUNT_CONFIG")
    public String getStaffCountConfig() {
        return this.staffCountConfig;
    }

    public void setStaffCountConfig(String value) {
        this.staffCountConfig = value;
    }


    @Column(name = "ST_SPECIAL_WORK_STAFF_COUNT")
    public Integer getStSpecialWorkStaffCount() {
        return this.stSpecialWorkStaffCount;
    }

    public void setStSpecialWorkStaffCount(Integer value) {
        this.stSpecialWorkStaffCount = value;
    }


    @Column(name = "ST_FULL_TIME_SAFETY_PRODUCTION_MANAGER_COUNT")
    public Integer getStFullTimeSafetyProductionManagerCount() {
        return this.stFullTimeSafetyProductionManagerCount;
    }

    public void setStFullTimeSafetyProductionManagerCount(Integer value) {
        this.stFullTimeSafetyProductionManagerCount = value;
    }


    @Column(name = "ST_PARTIME_TIME_SAFETY_PRODUCTION_MANAGER_COUNT")
    public Integer getStPartimeTimeSafetyProductionManagerCount() {
        return this.stPartimeTimeSafetyProductionManagerCount;
    }

    public void setStPartimeTimeSafetyProductionManagerCount(Integer value) {
        this.stPartimeTimeSafetyProductionManagerCount = value;
    }


    @Column(name = "ST_FULL_TIME_EMERGENCY_MANAGER_COUNT")
    public Integer getStFullTimeEmergencyManagerCount() {
        return this.stFullTimeEmergencyManagerCount;
    }

    public void setStFullTimeEmergencyManagerCount(Integer value) {
        this.stFullTimeEmergencyManagerCount = value;
    }


    @Column(name = "ST_REGISTERED_SAFETY_ENGINEER_COUNT")
    public Integer getStRegisteredSafetyEngineerCount() {
        return this.stRegisteredSafetyEngineerCount;
    }

    public void setStRegisteredSafetyEngineerCount(Integer value) {
        this.stRegisteredSafetyEngineerCount = value;
    }


    @Column(name = "SAFETY_MANAGE_INSTITUTION_NAME", length = 50)
    public String getSafetyManageInstitutionName() {
        return this.safetyManageInstitutionName;
    }

    public void setSafetyManageInstitutionName(String value) {
        this.safetyManageInstitutionName = value;
    }


    @Column(name = "SAFETY_MANAGE_INSTITUTION_DUTY", length = 200)
    public String getSafetyManageInstitutionDuty() {
        return this.safetyManageInstitutionDuty;
    }

    public void setSafetyManageInstitutionDuty(String value) {
        this.safetyManageInstitutionDuty = value;
    }


    @Column(name = "SAFETY_MANAGE_INSTITUTION_STAFF_COUNT")
    public Integer getSafetyManageInstitutionStaffCount() {
        return this.safetyManageInstitutionStaffCount;
    }

    public void setSafetyManageInstitutionStaffCount(Integer value) {
        this.safetyManageInstitutionStaffCount = value;
    }


    @Column(name = "PICTURE_ID")
    public Long getPictureId() {
        return this.pictureId;
    }

    public void setPictureId(Long value) {
        this.pictureId = value;
    }


    @Column(name = "HAS_FULL_TIME_SAFETY_STAFF", length = 2)
    public String getHasFullTimeSafetyStaff() {
        return this.hasFullTimeSafetyStaff;
    }

    public void setHasFullTimeSafetyStaff(String value) {
        this.hasFullTimeSafetyStaff = value;
    }


    @Column(name = "TENENT_ID")
    public Long getTenentId() {
        return this.tenentId;
    }

    public void setTenentId(Long value) {
        this.tenentId = value;
    }


    @Column(name = "ORG_CODE", length = 100)
    public String getOrgCode() {
        return this.orgCode;
    }

    public void setOrgCode(String value) {
        this.orgCode = value;
    }


    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("unifiedSocialCreditCode", getUnifiedSocialCreditCode())
                .append("province", getProvince())
                .append("locationProvince", getLocationProvince())
                .append("locationCity", getLocationCity())
                .append("locationDistrict", getLocationDistrict())
                .append("locationStreet", getLocationStreet())
                .append("registerAddress", getRegisterAddress())
                .append("businessAddress", getBusinessAddress())
                .append("registeredCapital", getRegisteredCapital())
                .append("floorArea", getFloorArea())
                .append("postcode", getPostcode())
                .append("registerDate", getRegisterDate())
                .append("legalRepresentative", getLegalRepresentative())
                .append("telephone", getTelephone())
                .append("fax", getFax())
                .append("email", getEmail())
                .append("website", getWebsite())
                .append("economicType1", getEconomicType1())
                .append("tradeType1", getTradeType1())
                .append("superviseType1", getSuperviseType1())
                .append("managementState", getManagementState())
                .append("productionPlacePropertyRight", getProductionPlacePropertyRight())
                .append("scale", getScale())
                .append("parentCompanyName", getParentCompanyName())
                .append("safetyLevel", getSafetyLevel())
                .append("riskLevel", getRiskLevel())
                .append("safetySuperviseLevel", getSafetySuperviseLevel())
                .append("companyType", getCompanyType())
                .append("hasMhhch", getHasMhhch())
                .append("mhhchLevel", getMhhchLevel())
                .append("hasSecondDoor", getHasSecondDoor())
                .append("secondDoorBuildStatus", getSecondDoorBuildStatus())
                .append("hasHchAccidentIn3years", getHasHchAccidentIn3years())
                .append("hasHchTunnel", getHasHchTunnel())
                .append("safetySuperviseInstitution", getSafetySuperviseInstitution())
                .append("longitudeLatitude", getLongitudeLatitude())
                .append("businessScope", getBusinessScope())
                .append("remark", getRemark())
                .append("principal", getPrincipal())
                .append("layoutPictureId", getLayoutPictureId())
                .append("surroundingType", getSurroundingType())
                .append("surroundingName", getSurroundingName())
                .append("surroundingDirection", getSurroundingDirection())
                .append("surroundingMinDistance", getSurroundingMinDistance())
                .append("surroundingArchitecture", getSurroundingArchitecture())
                .append("surroundingAdjacentBuildingHeight", getSurroundingAdjacentBuildingHeight())
                .append("surroundingPeopleCount", getSurroundingPeopleCount())
                .append("surroundingContactName", getSurroundingContactName())
                .append("surroundingContactPhone", getSurroundingContactPhone())
                .append("surroundingContactMobile", getSurroundingContactMobile())
                .append("surroundingContactEmail", getSurroundingContactEmail())
                .append("surroundingLongitudeLatitude", getSurroundingLongitudeLatitude())
                .append("surroundingRemark", getSurroundingRemark())
                .append("stStaffCount", getStStaffCount())
                .append("stSpecialWorkStaffCount", getStSpecialWorkStaffCount())
                .append("stFullTimeSafetyProductionManagerCount", getStFullTimeSafetyProductionManagerCount())
                .append("stPartimeTimeSafetyProductionManagerCount", getStPartimeTimeSafetyProductionManagerCount())
                .append("stFullTimeEmergencyManagerCount", getStFullTimeEmergencyManagerCount())
                .append("stRegisteredSafetyEngineerCount", getStRegisteredSafetyEngineerCount())
                .append("safetyManageInstitutionName", getSafetyManageInstitutionName())
                .append("safetyManageInstitutionDuty", getSafetyManageInstitutionDuty())
                .append("safetyManageInstitutionStaffCount", getSafetyManageInstitutionStaffCount())
                .append("pictureId", getPictureId())
                .append("hasFullTimeSafetyStaff", getHasFullTimeSafetyStaff())
                .append("tenentId", getTenentId())
                .append("orgCode", getOrgCode())
                .append("community", getCommunity())
                .append("developmentZone", getDevelopmentZone())
                .append("ownership", getOwnership())
                .append("groupCompanyName", getGroupCompanyName())
                .append("securityAgency", getSecurityAgency())
                .append("qq", getQq())
                .toString();
    }

    public int hashCode() {
        return new HashCodeBuilder()
                .append(getId())
                .toHashCode();
    }

    public boolean equals(Object obj) {
        if (obj instanceof BpEnterpriseInfo == false) return false;
        if (this == obj) return true;
        BpEnterpriseInfo other = (BpEnterpriseInfo) obj;
        return new EqualsBuilder()
                .append(getId(), other.getId())
                .isEquals();
    }
}

